#pragma once
#include <QGraphicsLineItem>

class GraphicsLineItem : public QGraphicsLineItem
{
public:
	enum LineType
	{
		HorizontalEnum, // 水平
		VerticalEnum // 垂直
	};
	GraphicsLineItem(LineType type, QGraphicsItem* parent);

	LineType getLineType()const { return m_type; }
private:
	const LineType m_type;
};

using GraphicsLineType = GraphicsLineItem::LineType;
